package com.fxy.demowebsockettest.controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description:控制层
 * @Author: 范欣宜
 * @Date: 2020/12/1
 **/
@Controller
@Api(tags = "接口-聊天首页")
@Slf4j
public class WebsocketController {


    /**
     * @Description:index
     * @Author: 范欣宜
     * @Date: 2020/12/1
     * @return: java.lang.String
     **/
    @GetMapping(value = "/")
    public String index() {
        return "index";
    }
}
